package com.mall.service;

import com.mall.bean.Collection;

import java.util.List;

public interface CollectionService extends Service<Collection>{

    List<Collection> getCollectionByMemberId(String memberId);

    Collection getCollectionByMemberIdAndGoodsId(String goodsId, String memberId);

    int collectionGoodsById(String goodsId, String memberId);

    int removeFavoriteById(String itemId);

    int removeFavoritemArrayById(String[] idArray);
}
